var updateStatus = function (info) {
  let phone = 1008;
  if (phone) {
    try {
      http.__okhttp__.setTimeout(1000);
      var res = http.get("http://\\[2406:da18:8e0:1500:83ad:fe70:f988:a700\\]:8001/update/" + phone + '/' + info);
      if (res.statusCode != 200) {
        log('服务器异常')
      }
    } catch (error) {
      log('服务器异常'+error);
      sendToPhone('服务器异常');
      serverIsOk = false;
    }
  }
}

updateStatus(2);
